﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Enum XDataCode
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Enum XDataCode
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="netDxf.XDataCode">
  
  
  <h1 id="netDxf_XDataCode" data-uid="netDxf.XDataCode" class="text-break">Enum XDataCode
  </h1>
  <div class="markdown level0 summary"><p>Defines the extended data code.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="netDxf.html">netDxf</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="netDxf_XDataCode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum XDataCode</code></pre>
  </div>
  <h3 id="fields">Fields
  </h3>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    <tbody>
      <tr>
        <td id="netDxf_XDataCode_AppReg">AppReg</td>
        <td><p>Application names can be up to 31 bytes long.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_BinaryData">BinaryData</td>
        <td><p>Binary data is organized into variable-length chunks.
The maximum length of each chunk is 127 bytes.
The binary data is represented as a string of hexadecimal digits, two per binary byte.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_ControlString">ControlString</td>
        <td><p>An extended data control string can be either “{” or “}”.
These braces enable applications to organize their data by subdividing the data into lists.
The left brace begins a list, and the right brace terminates the most recent list. Lists can be nested.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_DatabaseHandle">DatabaseHandle</td>
        <td><p>Handles of entities in the drawing database.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_Distance">Distance</td>
        <td><p>A real value that is scaled along with the parent entity</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_Int16">Int16</td>
        <td><p>A 16-bit integer (signed or unsigned).</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_Int32">Int32</td>
        <td><p>A 32-bit signed integer.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_LayerName">LayerName</td>
        <td><p>Name of the layer associated with the extended data</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_Real">Real</td>
        <td><p>A real value.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_RealX">RealX</td>
        <td><p>Three real values, in the order X, Y, Z.
They can be used as a point or vector record. AutoCAD never alters their value.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_RealY">RealY</td>
        <td><p>Three real values, in the order X, Y, Z.
They can be used as a point or vector record. AutoCAD never alters their value.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_RealZ">RealZ</td>
        <td><p>Three real values, in the order X, Y, Z.
They can be used as a point or vector record. AutoCAD never alters their value.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_ScaleFactor">ScaleFactor</td>
        <td><p>Also a real value that is scaled along with the parent.
The difference between a distance and a scale factor is application-defined</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_String">String</td>
        <td><p>Strings in extended data can be up to 255 bytes long.</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldDirectionX">WorldDirectionX</td>
        <td><p>Also a 3D point that is rotated and mirrored along with the parent (but is not moved, scaled, or stretched)</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldDirectionY">WorldDirectionY</td>
        <td><p>Also a 3D point that is rotated and mirrored along with the parent (but is not moved, scaled, or stretched)</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldDirectionZ">WorldDirectionZ</td>
        <td><p>Also a 3D point that is rotated and mirrored along with the parent (but is not moved, scaled, or stretched)</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldSpaceDisplacementX">WorldSpaceDisplacementX</td>
        <td><p>Also a 3D point that is scaled, rotated, and mirrored along with the parent (but is not moved or stretched)</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldSpaceDisplacementY">WorldSpaceDisplacementY</td>
        <td><p>Also a 3D point that is scaled, rotated, and mirrored along with the parent (but is not moved or stretched)</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldSpaceDisplacementZ">WorldSpaceDisplacementZ</td>
        <td><p>Also a 3D point that is scaled, rotated, and mirrored along with the parent (but is not moved or stretched)</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldSpacePositionX">WorldSpacePositionX</td>
        <td><p>Unlike a simple 3D point, the world space coordinates are moved, scaled, rotated, and mirrored
along with the parent entity to which the extended data belongs.
The world space position is also stretched when the STRETCH command is applied to the parent entity and
this point lies within the select window</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldSpacePositionY">WorldSpacePositionY</td>
        <td><p>Unlike a simple 3D point, the world space coordinates are moved, scaled, rotated, and mirrored
along with the parent entity to which the extended data belongs.
The world space position is also stretched when the STRETCH command is applied to the parent entity and
this point lies within the select window</p>
</td>
      </tr>
      <tr>
        <td id="netDxf_XDataCode_WorldSpacePositionZ">WorldSpacePositionZ</td>
        <td><p>Unlike a simple 3D point, the world space coordinates are moved, scaled, rotated, and mirrored
along with the parent entity to which the extended data belongs.
The world space position is also stretched when the STRETCH command is applied to the parent entity and
this point lies within the select window</p>
</td>
      </tr>
    </tbody>
  </thead></thead></table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_XDataCode.md&amp;value=---%0Auid%3A%20netDxf.XDataCode%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/XDataCode.cs/#L28" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
